From 54f3c52a11e2c4b4217c55b567389f3991ce35af Mon Sep 17 00:00:00 2001 From: "kaf24@localhost.localdomain" Date: Sun, 13 Aug 2006 19:00:19 +0100 Subject: [PATCH] [XEN] Use gnttab_clear_flag() in new grant-table copy operation. From: Jimi Xenidis Signed-off-by: Keir Fraser --- xen/common/grant_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 277f83b0b9..9a0f3434a7 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -724,10 +724,10 @@ __release_grant_for_copy( act->pin -= GNTPIN_hstw_inc; if ( !(act->pin & GNTPIN_hstw_mask) && !readonly ) - clear_bit(_GTF_writing, &sha->flags); + gnttab_clear_flag(_GTF_writing, &sha->flags); if ( !act->pin ) - clear_bit(_GTF_reading, &sha->flags); + gnttab_clear_flag(_GTF_reading, &sha->flags); spin_unlock(&rd->grant_table->lock); } -- 2.30.2